
export namespace GlobalEnum {
    //#region -------------------------框架部分--------------------------
    //全局变量名称
    export enum GlobalDataType {
        Index = 0,
        Canvas,  //canvas Node
        CameraUI, //Camera 类型
        Camera3D, //Camera 类型
    }

    //#endregion 

    //#region -------------------------自定义部分------------------------

    /**障碍类型 */
    export enum BarrierTypes {
        Wall,
        Barrier,
        EndArea,
    }
    /**敌人类型 */
    export enum EnemyTypes {
        Army,
        People,
        Tank,
    }
    /**道具类型 */
    export enum PropsType {
        Mine,       //地雷
    }

    /**动画剪辑 */
    export enum ZombieClips {
        Idle = 'idle',  //首页
        Born = 'born',
        Scream = 'scream', //游戏中
        Jump = 'jump',
        Run = 'run',
        Death = 'death',
        Win = 'run',
        Crawl = 'crawl',
        Surprise = 'surprise',
    }

    export enum ArmyClips {
        Idle = 'combat_idle',
        Shoot = 'shoot',
        Death = 'death_A',
    }

    export enum PeopleClips {
        Idle = 'combat_idle',
        Run = 'run',
        Death = 'death_A',
    }

    export enum TankClips {
        Idle = 'Idle',
        Atk = 'Atk',
        Death = 'Death',
    }

    /**僵尸的状态 */
    export enum ZombieState {
        Born,
        Idle,
        Run,
        Crawl,
        Atk,
        Win,
        Death
    }
    /**敌人的状态 */
    export enum EnemyState {
        Alive,
        Death,
    }
    /**血条类型 */
    export enum HpBarType {
        player,
        enemy,
        Tank,
        Army
    }
    /**子弹类型 */
    export enum BulletType {
        normalBullet = 'normalBullet2d',
        throughBullet = 'throughBullet2d',
    }

    /**2D特效类型 */
    export enum Effect2DType {
        //3D->UI
        BulletBoom = 'Effect_Bullet_boom_001',
        MineBoom = 'Effect_Mine_boom_001',
        TankBoom = 'Effect_Tank_boom_001',
        TankShoot = 'Effect_Tank_shoot_001',
        TankShootBoom = 'Effect_Tank_shootboom_001',
        ZombieDie = 'Effect_Zombie_die_001',
        ZombieHit = 'Effect_Zombie_hit_001',
        ZombieBuff = 'Effect_Zombie_Buff _001',
        ZombieBirth = 'Effect_birth_001',
        //UI
        BossWarn = 'Effect_UI_boss_001',
        GetGold = 'GetGold',
        GetSpdUp = 'Effect_game_buff_light_1',
        EnterParty = 'Effect_game_party_light',
    }

    /**3D特效类型 */
    export enum Effect3dType {
        ZombieProtected = 'zombieProtected',

    }

    /**自定义附加属性 */
    export enum ExtralProp {
        jumpHight = 'jumpHight',        //僵尸 跳跃高度
        addLineVec = 'addLineVec',      //碰撞体额外速度
        curLineVec2d = 'curLineVec2d',  //当前2d速度
        PeopleRun = 'PeopleRun',        //是否逃跑
        ArmyAtk = 'armyAtk',            //是否攻击
        customProps = 'customProps',    //自定属性
        moveProgress = 'moveProgress',  //移动距离进度条
    }


    //表情类型
    export enum EmojiTypes {
        Zombie_love = 'zombie_love',
        Zombie_vomit = 'zombie_vomit',
        EnemyFear = 'enemyFear',
        EnemyAngry = 'enemyAngry',

    }

    //对话目标类型
    export enum DialogTargetType {
        people,
        Army,
        TankBoss,
        ArmyBoss,
        Mine,
        Tips,
    }
    //宝箱奖励
    export enum BoxAwardTypes {
        AddZombies,
        AddGold,
        AddJumpDist,
        AddSpd,
        AddHP,
        //
        AddProtected,
    }
    //buff类型
    export enum BuffType {
        AddSpeed,
        AddJumpDist,
        Protected,
    }

    //#endregion
}

